/**
 * Created by 白雨浓 on 2018/1/23 17:43.
 */

export const template = `SELECT * FROM \`<%=tableName%>\`
WHERE state != 0<% variables.forEach(item=>{ %>
<if test="<%=item.jName%> != null">AND \`<%=item.sName%>\` = #{<%=item.jName%>}</if><%})%>`;